#模块中的某些类 from module_name import class1,class2...
#from electric_car import Car,ElectricCar 
#导入整个模块 import module_name
#import electric_car
#导入模块内所有的类 from module_name import *
from electric_car import *
#使用别名 from module_name import class as alias
#from electric_car import ElectricCar as eCar

my_new_car = Car('audi','a4',2019)
print(my_new_car.get_descriptive_name())

my_new_car.odometer_reading = 23
my_new_car.read_odometer()

my_new_car1 = ElectricCar('tesla','roadster',2019)
print(my_new_car1.get_descriptive_name())